package com.nue.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.nue.pojo.UmsUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nue.util.CommonResult;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wk
 * @since 2020-08-19
 */
public interface IUmsUserService extends IService<UmsUser> {
    public String token(UmsUser user) throws JsonProcessingException;
    boolean logout(HttpServletRequest request);
    CommonResult list(UmsUser user);
    CommonResult saveOne(UmsUser user);
    CommonResult update(UmsUser user);
    CommonResult back(Integer id);
    CommonResult del(Integer id);

}
